<div class="buildings form">
<?php echo $this->Form->create('Building');?>
	<fieldset>
 		<legend><?php __('Edit Building'); ?></legend>
	<?php
		echo $this->Form->input('building_id');
		echo $this->Form->input('building_name');
		echo $this->Form->input('apt_business',array('options' => $aptBussinesses));
		echo $this->Form->input('regular_fund');
		echo $this->Form->input('special_fund');
		echo $this->Form->input('expense_liquidation_type',array('options' => $buildingExpenseLiquidationTypes));
		echo $this->Form->input('doorman_id',array('empty' => 'Select','options'=> $buildingDoormen));
                echo $this->Form->input('customer_id');
		echo $this->Form->input('address_id');
		echo $this->Form->hidden('created_by');
		echo $this->Form->hidden('updated_by');
	?>
	</fieldset>
<?php echo $this->Form->end(__('Submit', true));?>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Delete', true), array('action' => 'delete', $this->Form->value('Building.building_id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $this->Form->value('Building.building_id'))); ?></li>
		<li><?php echo $this->Html->link(__('List Buildings', true), array('action' => 'index'));?></li>
		<li><?php echo $this->Html->link(__('List People', true), array('controller' => 'people', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('List Addresses', true), array('controller' => 'addresses', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('List Payment Dues', true), array('controller' => 'payment_dues', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('List Refinancing Systems', true), array('controller' => 'refinancing_systems', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('List Expenditures', true), array('controller' => 'expenditures', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('List Periodic Expenditure Types', true), array('controller' => 'periodic_expenditure_types', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('List Properties', true), array('controller' => 'properties', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('List Property Types', true), array('controller' => 'property_types', 'action' => 'index')); ?> </li>
	</ul>
</div>